🎈 Add Minecraft pc 1.21.9/1.21.10 data#1096
Conversation
|
I can't reproduce this error when running Locally I get
Github says
I could use some advice on how to ensure my local environment testing matches the CI/CD |
|
Your local branch is out of date, it's not listing all the tests (1663 vs 1690). I just merged master into here, pull the latest commit and run it again |
fixes 1.21.8 and 1.21.9 Co-authored-by: Rich Young <code@richyoung.ca>
|
Protocol data is not correct https://github.com/PrismarineJS/mineflayer/actions/runs/19987084418/job/57322609224?pr=3754 |
* Add loginPacket.json for Minecraft 1.21.9 Adds the missing loginPacket.json file needed for 1.21.9 server support. Copied from 1.21.3 as they share similar login packet structure. * adding ci.yml * Refactor CI workflow for improved structure and clarity
🐛 Protocol Issues Found in 1.21.9
|
🔧 Ready-to-Apply Patch for Protocol FixesFollowing up on the bug report above, here's the exact patch that fixes both issues in diff --git a/data/pc/1.21.9/protocol.json b/data/pc/1.21.9/protocol.json
--- a/data/pc/1.21.9/protocol.json
+++ b/data/pc/1.21.9/protocol.json
@@ -4730,32 +4730,8 @@
"type": "f64"
},
{
- "name": "pitch",
- "type": "i8"
- },
- {
- "name": "yaw",
- "type": "i8"
- },
- {
- "name": "headPitch",
- "type": "i8"
- },
- {
- "name": "objectData",
- "type": "varint"
- },
- {
- "name": "velocityX",
- "type": "i16"
- },
- {
- "name": "velocityY",
- "type": "i16"
- },
- {
- "name": "velocityZ",
- "type": "i16"
+ "name": "movement",
+ "type": "restBuffer"
}
]
],
@@ -7304,12 +7280,20 @@
"packet_spawn_position": [
"container",
[
+ {
+ "name": "dimension",
+ "type": "string"
+ },
{
"name": "location",
"type": "position"
},
{
- "name": "angle",
+ "name": "yaw",
+ "type": "f32"
+ },
+ {
+ "name": "pitch",
"type": "f32"
}
]Summary of Changes:
Verification
To apply: |
* 🎈 Add Minecraft pc 1.21.10 data * [Auto] Apply generated data from PrismarineJS/minecraft-data-generator#61 * Add loginPacket.json * Update features.json * Update protocol * 1.21.9 --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* Fix packet_tracked_waypoint * Fix packet_tracked_waypoint * Fix packet_tracked_waypoint
| boundingBoxMax: position | ||
| isStart: bool | ||
|
|
||
| Node: |
| if chicken_variant: varint | ||
| if optional_global_pos: ["option", "GlobalPos"] |
There was a problem hiding this comment.
backcheck older versions for these changes
| velocityY: i16 | ||
| velocityZ: i16 |
There was a problem hiding this comment.
rename velocityX/Y/Z with just 'velocity' on all versions
| # MC: ClientboundDebugBlockValuePacket | ||
| packet_debug_block_value: | ||
| blockPos: position | ||
| update: DebugSubscriptionUpdate | ||
| # MC: ClientboundDebugChunkValuePacket | ||
| packet_debug_chunk_value: | ||
| chunkPos: packedChunkPos | ||
| update: DebugSubscriptionUpdate | ||
| # MC: ClientboundEntityEntityValuePacket | ||
| packet_debug_entity_value: | ||
| entityId: varint | ||
| update: DebugSubscriptionUpdate |
| x: f64 | ||
| y: f64 | ||
| z: f64 | ||
| center: vec3f64 |
There was a problem hiding this comment.
same, backport all to 'center'
|
/makerelease |
Add minecraft-data support for version 1.21.11 'Mounts of Mayhem': New Content: - 4 new entities (camel_husk, nautilus, parched, zombie_nautilus) - 1 new mob effect (breath_of_the_nautilus) - 16 new items (spears, nautilus armor, spawn eggs) Files added: - data/pc/1.21.11/ directory with all data files - dataPaths.json updated with 1.21.11 entry Note: This PR focuses only on 1.21.11 as 1.21.9/1.21.10 support was already merged via PR PrismarineJS#1096.
This automated PR sets up the relevant boilerplate for Minecraft pc version 1.21.9. Fixes #1095.
Related:
pc-1_21_9branch instead ofmaster.